package com.tarim.streetdance.model;

import com.tarim.streetdance.vo.Criteria;

import java.io.Serializable;
import java.util.Date;

public class Article extends Criteria implements Serializable {
    private Long id;

    private String title;

    private Long viewsnum;

    private Date modifyTime;

    private Date createTime;

    private Integer dr;

    private String content;

    public Article(Long id, String title, Long viewsnum, Date modifyTime, Date createTime, Integer dr, String content) {
        this.id = id;
        this.title = title;
        this.viewsnum = viewsnum;
        this.modifyTime = modifyTime;
        this.createTime = createTime;
        this.dr = dr;
        this.content = content;
    }

    public Article() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Long getViewsnum() {
        return viewsnum;
    }

    public void setViewsnum(Long viewsnum) {
        this.viewsnum = viewsnum;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}